﻿using System;
using System.Runtime.Serialization;

namespace Core.Models
{
    [DataContract]
    public class Employee
    {
        [DataMember]
        public virtual int ID { get; set; }

        [DataMember]
        public virtual string No { get; set; }

        [DataMember]
        public virtual string Name { get; set; }

        [DataMember]
        public virtual string Email { get; set; }

        [DataMember]
        public virtual string Phone { get; set; }

        [DataMember]
        public virtual decimal Salary { get; set; }
    }
}